@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: MicrosoftYaHei, Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial,
    sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
  }
}

/* 全局自定义 */
.app-container {
  flex: 1;
  background-color: #f0f2f5;
}

.app-dialog {
  .el-dialog {
    border-radius: 9px;
  }
  .el-dialog__body {
    padding: 10px 36px;
    box-sizing: border-box;
  }
  .el-dialog__header {
    padding: 0 36px;
    box-sizing: border-box;
    height: 62px;
    line-height: 62px;
    border-bottom: 1px solid #d8d8d8;
    .el-dialog__close {
      font-size: 22px;
      color: #929292;
    }
  }
  .el-dialog__footer {
    padding: 15px 36px;
    border-top: 1px solid #d8d8d8;
    .el-button {
      min-width: 96px;
    }
  }
}

.search-bar .el-button {
  min-width: 96px;
}

.m_96 {
  min-width: 96px;
}

.el-loading-mask.is-fullscreen {
  position: fixed;
  z-index: 3000;
}

.el-message-box {
  .el-button--primary {
    background-color: #0076ff;
    border: none;
  }
}
.ml20{
  margin-left: 20px;
}
.mb20{
  margin-bottom: 20px;
}
.mt20{
  margin-top: 20px;
}
.pb20{
  padding-bottom: 20px;
}
.pt20{
  padding-top: 20px;
}
.tac{
  text-align: center;
}